package cn.chaohi.common;

/**
 * @author James-Yin
 */
public class Constants {

    /**
     * 渠道-----》小程序
     */
    public static final int CHANNEL_APPLET = 1;
    /**
     * 渠道-----》购物车
     */
    public static final int CHANNEL_CART = 2;
    /**
     * 全局开关----》开启
     */
    public static final int OPEN_OPEN = 1;
    /**
     * 全局开关----》关闭
     */
    public static final int OPEN_CLOSE = 0;

    public class AwardRuleConst {
        public static final int OPEN_OPEN = 1;
        public static final int OPEN_CLOSE = 0;
        public static final int FOREVER_OPEN = 1;
        public static final int FOREVER_CLOSE = 0;
        public static final int METHOD_RANDOM = 2;
        public static final int METHOD_FIXED = 1;


    }

    public class AllOrPartUpgrade {
        public static final String All = "1";
        public static final String PART = "-1";
    }

    public class AllOrPlusUpgrade {
        public static final String All = "1";
        public static final String PLUS = "-1";
    }

    public class UpgradeDegradeClose {
        public static final String UPGRADE = "2";
        public static final String DEGRADE = "3";
        public static final String CLOSE = "1";
    }
}
